package com.woniu.defecttracking.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class BugInfoDto {
    private Integer bugId;

    @ApiModelProperty(value = "项目编号")
    private Integer projectId;
    private String projectName;

    @ApiModelProperty(value = "上级缺陷")
    private Integer parentIssueId;

    @ApiModelProperty(value = "缺陷编号")
    private String bugNum;

    @ApiModelProperty(value = "缺陷描述")
    private String bugDesc;

    @ApiModelProperty(value = "指派给")
    private Integer assignee;

    @ApiModelProperty(value = "缺陷分类   type_code类型的代码")
    private Integer bugTypeId;
    private String bugTypeName;


    @ApiModelProperty(value = "缺陷严重  程度表severity_code类型的代码")
    private Integer savarityId;
    private String savarityLev;

    @ApiModelProperty(value = "优先级   缺陷优先级表priority_code类型的代码")
    private Integer priorityId;
    private String priorityLev;

    @ApiModelProperty(value = "预计开始日期")
    private String planStartTime;

    @ApiModelProperty(value = "预计结束日期")
    private String planEndTime;

    @ApiModelProperty(value = "实际开始日期")
    private String actStartTime;

    @ApiModelProperty(value = "实际结束日期")
    private String actEndTime;

    @ApiModelProperty(value = "预计工时数")
    private BigDecimal planWorkHours;

    @ApiModelProperty(value = "实际工时数")
    private BigDecimal actWorkHours;

    @ApiModelProperty(value = "分配时间")
    private String assignedTime;

    @ApiModelProperty(value = "完成要求")
    private String doneCondition;

    @ApiModelProperty(value = "完成百分比")
    private Integer doneRatio;

    @ApiModelProperty(value = "缺陷状态    表state_code类型的代码")
    private Integer bugState;

    @ApiModelProperty(value = "创建人")
    private Integer createPerson;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "修改人")
    private Integer modifyPerson;

    private String file;


    @ApiModelProperty(value = "修改时间")
    private String modifyTime;
}
